package com.example.moviepro.service;

import com.example.moviepro.entity.Movie;

import java.util.List;

public interface MovieService {

    void addMovie(Movie movie);

    Movie findMovie(Movie movie);

    int findMovieId(Movie movie);

    Movie findMovieById(int id);

    void deleteMovie(int id);

    List<Movie> getAllMovies();

    void updatePosterUrl(String posterUrl,Movie movie);

    String findfilenameByid(int id);
}
